import request from '@/utils/request'

export function fetchList(page, size, searchName) {
  return request({
    url: `/api/resume/list/${page}/${size}?name=${searchName}`,
    method: 'post'
  })
}

export function fetchMyList(searchName) {
  return request({
    url: `/api/resume/getMy?name=${searchName}`,
    method: 'post'
  })
}

export function getMyResumeDeliverCount() {
  return request({
    url: `/api/auth/myResumeDeliverCountWeek`,
    method: 'post'
  })
}

